<!DOCTYPE html>

<html lang="en">
<head>
  <meta charset="UTF-8">

  <title>文豆集团-客户留言</title>
  <link rel="stylesheet" type="text/css" href="css/base.css">
  <link rel="stylesheet" type="text/css" href="css/user_msg.css">
  <meta name='keywords' content='文豆PHP培训,二次开发培训'>
  <meta name='description' content='文豆集团是一家提供互联网服务的高科技集团公司，集策划、设计、前端优化、研发、测试、系统运维、网站推广、运营、团队外包及互联网人才培养为一体的成熟业务体系'>
</head>

<body>
  <div id="content">
    <!-- header start -->

<?php include 'view/header.php'; ?>
    <!-- header end -->
    <!-- banner start -->

    <div class="banner"><img src="images/banner_01.png" alt=""></div><!-- banner end -->
    <!-- main start -->

    <div class="main">
      <div class="main_nav">
        <a href="">首页</a> &gt; <a href="">用户中心</a> &gt; <a href="">客户留言</a>
      </div>

      <div class="main_content">
        <div class="main_left">
          <p><?php echo $user['user_name']; ?></p>

          <div class="main_left1">
            <a href="user_center.php">基本信息</a>
          </div>

          <div class="main_left2">
            <a href="user_setting.php">账号设置</a>
          </div>

          <div class="main_left3">
            <a href="">客户留言<span>&gt;</span></a>
          </div>

          <div class="main_left4"></div>
        </div>

        <div class="main_right">
          <div class="main_right_top">
            <ul>
              <li id="main_right_msg"><a href="">客户留言</a></li>

             <!--  <li id="main_right_msg2"><a href="">账号设置</a></li> -->
            </ul>
          </div>

          <table>
          <?php foreach ($msg as $key => $v) {?>
            <tr id="left_date">
              <td valign="top" class="left_time"><?php echo date('Y-m-d H:s',$v['msg_addtime']); ?></td>
              <td>
                 <p id="r_user"><?php echo $v['user_name']; ?>:</p>
                 <p><?php echo $v['msg_content']; ?></p>
                 <p id="right_msg">邮箱：<?php echo $v['user_email'] ?><span>电话： <?php echo $v['user_tel']; ?></span></p>
              </td>
             </tr>
             <?php } ?>

          </table>

          <?php echo $page_link; ?>
        </div>
      </div>

      <div class="clear"></div>
    </div><!-- main end -->
    <!-- footer start -->

<?php include 'view/footer.php'; ?>
    <!-- footer end -->
  </div>
</body>
</html>
